package com.qyhl.school.school.reporter.publish;


import com.qyhl.webtv.commonlib.entity.UpTokenBean;

public interface SchoolReportPublishContract {
    interface SchoolReportPublishView {
        void postResult(boolean isSuccess, String msg);

        void getTokenSuccess(UpTokenBean data, boolean isUpload);

        void getTokenError(boolean isUpload);
    }

    interface SchoolReportPublishPresenter {
        void doPost(String username, String content, String title,String school,String writer,String image);

        void getToken(boolean isUpload);

        void postResult(boolean isSuccess, String msg);

        void getTokenSuccess(UpTokenBean data, boolean isUpload);

        void getTokenError(boolean isUpload);
    }

    interface SchoolReportPublishModel {
        void doPost(String username, String content, String title,String school,String writer,String image);

        void getToken(boolean isUpload);
    }
}
